package com.ljfiction.book.fragment.transactionrecord;

import java.util.List;

/**
 * Created by Android on 2017/12/26.
 */

public class DaShangBean {


    /**
     * returnCode : 200
     * msg : 数据加载成功！
     * data : {"pageNum":1,"pageSize":15,"size":3,"startRow":1,"endRow":3,"total":3,"pages":1,"list":[{"id":4,"bookid":2,"spicyiTicketCount":188,"userId":6,"giveDateTime":1514271951000,"bookName":"我爱喝红牛","authorId":2},{"id":3,"bookid":14,"spicyiTicketCount":188,"userId":6,"giveDateTime":1513580071000,"bookName":"不带一阵风","authorId":6},{"id":2,"bookid":14,"spicyiTicketCount":188,"userId":6,"giveDateTime":1513580064000,"bookName":"不带一阵风","authorId":6}],"firstPage":1,"prePage":0,"nextPage":0,"lastPage":1,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1]}
     */

    private int returnCode;
    private String msg;
    private DataBean data;

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pageNum : 1
         * pageSize : 15
         * size : 3
         * startRow : 1
         * endRow : 3
         * total : 3
         * pages : 1
         * list : [{"id":4,"bookid":2,"spicyiTicketCount":188,"userId":6,"giveDateTime":1514271951000,"bookName":"我爱喝红牛","authorId":2},{"id":3,"bookid":14,"spicyiTicketCount":188,"userId":6,"giveDateTime":1513580071000,"bookName":"不带一阵风","authorId":6},{"id":2,"bookid":14,"spicyiTicketCount":188,"userId":6,"giveDateTime":1513580064000,"bookName":"不带一阵风","authorId":6}]
         * firstPage : 1
         * prePage : 0
         * nextPage : 0
         * lastPage : 1
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * id : 4
             * bookid : 2
             * spicyiTicketCount : 188
             * userId : 6
             * giveDateTime : 1514271951000
             * bookName : 我爱喝红牛
             * authorId : 2
             */

            private int id;
            private int bookid;
            private int spicyiTicketCount;
            private int userId;
            private long giveDateTime;
            private String bookName;
            private int authorId;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getBookid() {
                return bookid;
            }

            public void setBookid(int bookid) {
                this.bookid = bookid;
            }

            public int getSpicyiTicketCount() {
                return spicyiTicketCount;
            }

            public void setSpicyiTicketCount(int spicyiTicketCount) {
                this.spicyiTicketCount = spicyiTicketCount;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public long getGiveDateTime() {
                return giveDateTime;
            }

            public void setGiveDateTime(long giveDateTime) {
                this.giveDateTime = giveDateTime;
            }

            public String getBookName() {
                return bookName;
            }

            public void setBookName(String bookName) {
                this.bookName = bookName;
            }

            public int getAuthorId() {
                return authorId;
            }

            public void setAuthorId(int authorId) {
                this.authorId = authorId;
            }
        }
    }
}
